Skip to main content

oval

Type

keyword

Summary

Designates the paint tool used to draw ovals and circles. It also specifies, through the style property, that a graphic object is an oval shape.

Syntax

oval

Description

Use the oval keyword to paint an oval or circle with the penColor or to change a graphic to an oval shape.

When using the Oval tool, the cursor is a crosshairs shape (over stack windows) or an arrow (anywhere else). This tool is used to draw an oval or circle in the penColor, filled with the brushColor (or brushPattern).

If you try to paint with the Oval tool on a card that has no images, an image the size of the card is created to hold the painting. If the current card already has one or more images, painting outside the image has no effect.

Setting the style of a graphic to oval makes the graphic into an oval. Oval graphics, unlike painted ovals, can be changed and reshaped: use the height and width properties to change the shape and size of the oval.

Examples

set the style of the templateGraphic to oval
choose oval tool

command: choose

glossary: object, property, keyword, paint tool

keyword: graphic

object: graphic

property: brushColor, height, style, brushPattern, penColor, width, properties

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?